package aierjun.action.interfaces;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import aierjun.bean.Bean;

@Controller
@RequestMapping("v1")
public class Register {
@RequestMapping(value = "/login_get.json/{name}/{pass}/{identity}", method = RequestMethod.GET)
public String findOwner(@PathVariable("name")String name,@PathVariable("pass")String pass,@PathVariable("identity")Integer identity) {
	Bean bean=new Bean();
	bean.setName(name);
	bean.setPass(pass);
	bean.setIdentity(identity);
	  return "okhahha"+name+"..."+pass+"..."+identity; 
	}
}

